package org.dromara.generator.domain;

/**
 * 条件枚举
 */
public enum SqlOperateEnum {

    /**
     * =
     */
    OPERATE_EQ("="),

    /**
     * >
     */
    OPERATE_GT("&gt;"),

    /**
     * >=
     */
    OPERATE_GTE("&gt;="),
    /**
     * <
     */
    OPERATE_LT("&lt;"),
    /**
     * <=
     */
    OPERATE_LTE("&lt;="),

    /**
     * like
     */
    OPERATE_LIKE("like"),
    /**
     * like right
     */
    OPERATE_LIKE_RIGHT("like "),

    /**
     * in
     */
    OPERATE_IN("in"),

    /**
     * is null
     */
    OPERATE_IS_NULL("is null"),
    /**
     * is not null
     */
    OPERATE_IS_NOT_NULL("is not null"),

    ;

    private final String operate;

    SqlOperateEnum(String operate) {
        this.operate = operate;
    }

    public String getOperate() {
        return this.operate;
    }

}
